package org.lc.eic.messgeconstruct.requestreply;

import java.io.InputStream;
import java.io.OutputStream;

import org.lc.eic.messgeconstruct.requestreply.exception.DeserializeException;
import org.lc.eic.messgeconstruct.requestreply.exception.SerializeException;

public interface ReplySerializer<O> {
	void serializeReply(Reply<O> reply, OutputStream outputStream) throws SerializeException;	
	Reply<O> deserializeReply(InputStream inputStream) throws DeserializeException;
}
